<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="Generator" content="EditPlus®">
    <meta name="Author" content="">
    <meta name="Keywords" content="">
    <meta name="Description" content="">
    <link rel="stylesheet" href="../source/layui/css/layui.css">
    <link rel="stylesheet" href="../source/layer/theme/default/layer.css">
    <script src="../source/js/jquery-1.9.1.min.js"></script>
    <script src="../source/js/common_url.js"></script>
    <script src="../source/js/util.js"></script>
    <script src="../source/layui/layui.js"></script>
    <script src="../source/layer/layer.js"></script>
    <script src="js/dealData.js"></script>
    <title>语音管理</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        .main {
            padding: 10px;
        }

        .flow-default {
            width: 100%;
            height: 400px;
            overflow: auto;
            font-size: 0;
        }

        .flow-default li {
            display: inline-block;
            height: 100px;
            line-height: 100px;
            text-align: center;
            background-color: #eee;
            color: #333;
            font-size: 50px;
        }

        .layui-flow-more {
            width: 100%;
            position: relative;

            text-align: center;
        }

        .flow-ex {
            display: table;
            width: 100%;
            text-align: center;
            line-height: 40px;
            border-bottom: 1px solid #e6e6e6;
        }

        .flow-ex-cell {
            display: table-cell;
            padding: 0 10px;
        }

        .flow-ex {
            border-left: 1px solid #e6e6e6;
            border-right: 1px solid #e6e6e6;
        }

        .flow-ex.flow-ex-header{
            border-top: 1px solid #e6e6e6;
        }

        .flow-ex .flow-ex-cell:first-child {
            width: 100px;
            border-right: 1px solid #e6e6e6;

        }

        .flow-ex .flow-ex-cell:nth-child(2) {
            text-align: left;
        }

        .flow-ex .flow-ex-cell:last-child {
            width: 180px;
            border-left: 1px solid #e6e6e6;
        }

        .layui-navbar {
            text-align: right;
            padding-bottom: 10px;
        }
        .layui-mode{
            padding: 20px;
            display: none;
        }
    </style>
</head>
<body class="main">
<div class="layui-navbar">
    <button type="button" onclick="addVoice()" class="layui-btn layui-btn-normal">添加</button>
</div>
<div class="flow-ex flow-ex-header">
    <div class="flow-ex-cell">序号</div>
    <div class="flow-ex-cell">内容</div>
    <div class="flow-ex-cell">操作</div>
</div>
<div id="LAY_flow">

</div>
<div class="layui-mode">
    <form class="layui-form" action="">
        <div class="layui-form-item layui-form-text">
            <label class="layui-form-label">内容</label>
            <div class="layui-input-block">
                <textarea placeholder="请输入内容" id="text_content" class="layui-textarea"></textarea>
                <p class="textareaTip"></p>
            </div>
        </div>
    </form>
</div>
<script>
    $('.kechengbiao textarea').change(function () {
        var val = $(this).val();
        if(val.length>0){
            $(this).toggleClass('hover');
            $(this).parent('td').toggleClass('hover');
        }
    })
</script>
</body>
</html>
